import React, { Component } from 'react';
import DataStatistics from './components/DataStatistics/DataStatistics'
import UserAndIntegration from './components/UserAndIntegration/UserAndIntegration'
import CategoryTopTen from './components/CategoryTopTen/CategoryTopTen'

class HomePage extends Component {
  componentDidMount() {
    document.getElementsByClassName('ant-layout-content')[0].scrollTop = 0;
  }

  render() {
    return (
      <div className="page-content">
        <DataStatistics />
        <UserAndIntegration />
        <CategoryTopTen />
      </div>
    );
  }
}

export default HomePage;
